<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>

        // 判断水仙花
        function isFlower(n) {
            // var res = false ;
            var a = parseInt(n / 100) ;
            var b = parseInt(a % 100 / 10) ;
            var c = n % 10 ;
            if(a * a * a + b * b * b + c * c * c === n) {
                // res = true ;
                return true
            }
            // return res ;
            return false ;
        }

    </script>
    
</body>
</html>